package com.cefa.edu.schedule;

import com.cefa.edu.service.ScheduledService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * Created by cc664 on 2018/8/9.
 */
@Component
public class ScoreChainStatusSchedule {

    @Autowired
    private ScheduledService scheduledService;

   // @Scheduled(cron="0 0 15 * * ?")
   public void execute(){
       System.out.println("当前时间是："+System.currentTimeMillis());
        scheduledService.studentCirculation2();
   }
}
